package com.hehe.controller;

import com.hehe.Repository.T_User_Repository;
import jakarta.annotation.Resource;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value = "register")
public class Register {

    @Value("${config_file_name}")
    private String config_file_name;

    @Resource
    private T_User_Repository t_user_repository;

    //   不要带斜杠 / , Linux 下面会报错
    @GetMapping(value = "")
    public String index(Model model) {
        return "register.html";
    }



}

